package com.zip.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import response.Result;

@FeignClient(name = "third-party-service")
public interface ThirdPartyClient {

    @GetMapping(value = "/api/msm/send/{phone}/{code}")
    public Result codeLogin(@PathVariable String phone, @PathVariable String code);

}
